package com.nchuoj.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author GYJ
 */
@EnableFeignClients(basePackages = "com.feign.feign.requests")
@MapperScan(value = "com.nchuoj.user.mapper")
@ComponentScan(basePackages = {"com.nchuoj.user","com.feign.common.config"})
@SpringBootApplication
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
